Ext.define('Admin.view.performance.Chartsbarpanel', {
    extend: 'Admin.view.charts.Bar',
    xtype: 'chartsbarpanel',

    title: 'Bar Chart',
    iconCls: 'x-fa fa-bar-chart',



    items: [{
        xtype: 'cartesian',
        //flipXY:true,
        colors: [
            '#FFD700'
        ],
     //   bind: '{performanceDataList}',
        	
            	store: {
           fields: ['xvalue', 'yvalue'],
    data: [
       // { xvalue: 'totalAbsence',yvalue:'{performanceDataList}.list[0].totalAbsence'}
       { xvalue: 'China',yvalue:'5'},
//       { xvalue: 'Japan',yvalue:'3'},
//    { xvalue: 'UK',yvalue:'1'}
    ]
        },      
        axes: [{
            type: 'category',
            fields: [
                'xvalue'
            ],
            	
            position: 'bottom'
        },{
            type: 'numeric',
            fields: [
                'yvalue'
            ],
            grid: {
                odd: {
                    fill: '#e8e8e8'
                }
            },
            position: 'left'
        }],
        series: [{
            type: 'bar',
            xField: 'xvalue',
            yField: [
                'yvalue'
            ]
        }]

    }]
});
